package com.ruoyi.staffDuty.domain.bo;

import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.core.validate.EditGroup;
import javax.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 员工类型文件业务对象 mt_staff_duty_file
 *
 * @author ruoyi
 * @date 2023-11-06
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class MtStaffDutyFileBo extends BaseEntity {

    /**
     * id
     */
    @NotNull(message = "id不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 员工类型ID
     */
    //@NotNull(message = "员工类型ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long staffDutyId;

    /**
     * 文件名称
     */
    //@NotBlank(message = "文件名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String fileName;

    /**
     * 文件地址
     */
    //@NotBlank(message = "文件地址不能为空", groups = { AddGroup.class, EditGroup.class })
    private String fileUrl;

    /**
     * 文件类型   字典  file_type
     */
    //@NotBlank(message = "文件类型   字典  file_type不能为空", groups = { AddGroup.class, EditGroup.class })
    private String fileType;

    /**
     * 有效状态
     */
    //@NotBlank(message = "有效状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private String status;

    /**
     * 备注
     */
    //@NotBlank(message = "备注不能为空", groups = { AddGroup.class, EditGroup.class })
    private String remark;


}
